Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[지하철 노선도 미션] 김예진 미션 제출합니다. #99

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

jineeee
Copy link

@jineeee jineeee commented Dec 15, 2020

[지하철 노선도 미션] 김예진 미션 제출합니다.

기존 README.md에 작성되어 있는 기능 사항과 예시를 토대로 기능 명세 작성
메인 화면 출력과 각 기능별 출력화면 구조 세팅
역 등록하는 기본 기능 작성
역을 새로 등록할 떄 이름이 중복되는지 여부 확인 수정
Constant 클래스에 필요한 문자열 추가
노선 등록, 삭제 기능 추가
상행, 하행역이 역 정보에 등록되지 않은 경우 노선 등록 불가
노선 관리 기능의 예외 사항 추가
구간 등록을 위한 Line 클래스 변경
LineRepository의 파라미터 타입 변경
현재 노선 크기 이상에 구간을 등록할 경우 예외 출력
repository에서는 출력을 하지않고 예외만 던지는 방식으로 수정
controller에서 예외를 받아 상황에 맞는 예외 처리 문구 출력
동작만을 관리하는 클래스와 동작에 따른 결과를 받아 출력하는 클래스로 기능을 분리
공통적으로 쓰이는 변수만 남기고 각 클래스 안에 private으로 수정
이름이 2글자 이하로 입력됐을시 에러 처리
2를 Constant 변수로 사용
repository에는 print 명령이 없도록 수정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant